\doxysection{Mag\+Logger Class Reference}
\hypertarget{class_mag_logger}{}\label{class_mag_logger}\index{MagLogger@{MagLogger}}


这是一个\+Mag\+Logger类，用于记录日志信息。  




{\ttfamily \#include $<$logger.\+h$>$}

\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\Hypertarget{class_mag_logger_aeca59a7fe42b816420492621efd4cbb9}\label{class_mag_logger_aeca59a7fe42b816420492621efd4cbb9} 
std\+::string {\bfseries current\+Time} ()
\item 
void \mbox{\hyperlink{class_mag_logger_aa52e41fe1302a56ec26856cd062b291f}{debug}} (const std\+::string \&message)
\begin{DoxyCompactList}\small\item\em A demo function in Demo\+Class. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_mag_logger_adc2763b218ec03d8ecbb6bf00cc64a28}{info}} (const std\+::string \&message)
\begin{DoxyCompactList}\small\item\em debug 一般信息 \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_mag_logger_abacc186e35e7a98e37edd8981c19454d}{warning}} (const std\+::string \&message)
\begin{DoxyCompactList}\small\item\em debug 警告信息 \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_mag_logger_a4dc582a17edb8e04890939de3be12880}{error}} (const std\+::string \&message)
\begin{DoxyCompactList}\small\item\em debug 错误信息 \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_mag_logger_a8f2476196fafaf6bd65c9da863a7d059}{fatal}} (const std\+::string \&message)
\begin{DoxyCompactList}\small\item\em debug 致命信息 \end{DoxyCompactList}\item 
\Hypertarget{class_mag_logger_a7daa71a421f3faf8c8814d4e0e9b80cf}\label{class_mag_logger_a7daa71a421f3faf8c8814d4e0e9b80cf} 
std\+::vector$<$ std\+::string $>$ \& {\bfseries get\+Debug\+Log} ()
\item 
\Hypertarget{class_mag_logger_a46cb6161a2e36801ca084e93bc9d9f0c}\label{class_mag_logger_a46cb6161a2e36801ca084e93bc9d9f0c} 
std\+::vector$<$ std\+::string $>$ \& {\bfseries get\+Info\+Log} ()
\item 
\Hypertarget{class_mag_logger_ab2a8c008b8c2c0236fe45d7978600d7d}\label{class_mag_logger_ab2a8c008b8c2c0236fe45d7978600d7d} 
std\+::vector$<$ std\+::string $>$ \& {\bfseries get\+Warning\+Log} ()
\item 
\Hypertarget{class_mag_logger_aa729d5403639328551ad7e2ec3f210e6}\label{class_mag_logger_aa729d5403639328551ad7e2ec3f210e6} 
std\+::vector$<$ std\+::string $>$ \& {\bfseries get\+Error\+Log} ()
\item 
\Hypertarget{class_mag_logger_a90b8b90bf5ac841eb406f74c015d72b3}\label{class_mag_logger_a90b8b90bf5ac841eb406f74c015d72b3} 
std\+::vector$<$ std\+::string $>$ \& {\bfseries get\+Fatal\+Log} ()
\item 
\Hypertarget{class_mag_logger_a463c08ad83b7ce61634ce61f2c653b2a}\label{class_mag_logger_a463c08ad83b7ce61634ce61f2c653b2a} 
std\+::vector$<$ std\+::string $>$ \& {\bfseries get\+All\+Log} ()
\item 
\Hypertarget{class_mag_logger_a871395cc8d7389bdf827cc610f3c236a}\label{class_mag_logger_a871395cc8d7389bdf827cc610f3c236a} 
void {\bfseries export\+Log} (const std\+::string \&file\+Name)
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
这是一个\+Mag\+Logger类，用于记录日志信息。 

This class provides a simple demonstration of how to use file-\/level comments. 

\doxysubsection{Member Function Documentation}
\Hypertarget{class_mag_logger_aa52e41fe1302a56ec26856cd062b291f}\label{class_mag_logger_aa52e41fe1302a56ec26856cd062b291f} 
\index{MagLogger@{MagLogger}!debug@{debug}}
\index{debug@{debug}!MagLogger@{MagLogger}}
\doxysubsubsection{\texorpdfstring{debug()}{debug()}}
{\footnotesize\ttfamily void Mag\+Logger\+::debug (\begin{DoxyParamCaption}\item[{const std\+::string \&}]{message }\end{DoxyParamCaption})}



A demo function in Demo\+Class. 

This function demonstrates how to use file-\/level comments in a class. 
\begin{DoxyParams}{Parameters}
{\em value1} & An integer value for demonstration. \\
\hline
{\em value2} & A string value for demonstration. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
value The result of the demonstration. 
\end{DoxyReturn}
\Hypertarget{class_mag_logger_a4dc582a17edb8e04890939de3be12880}\label{class_mag_logger_a4dc582a17edb8e04890939de3be12880} 
\index{MagLogger@{MagLogger}!error@{error}}
\index{error@{error}!MagLogger@{MagLogger}}
\doxysubsubsection{\texorpdfstring{error()}{error()}}
{\footnotesize\ttfamily void Mag\+Logger\+::error (\begin{DoxyParamCaption}\item[{const std\+::string \&}]{message }\end{DoxyParamCaption})}



debug 错误信息 


\begin{DoxyParams}{Parameters}
{\em message} & 消息内容 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
无返回值 
\end{DoxyReturn}
\Hypertarget{class_mag_logger_a8f2476196fafaf6bd65c9da863a7d059}\label{class_mag_logger_a8f2476196fafaf6bd65c9da863a7d059} 
\index{MagLogger@{MagLogger}!fatal@{fatal}}
\index{fatal@{fatal}!MagLogger@{MagLogger}}
\doxysubsubsection{\texorpdfstring{fatal()}{fatal()}}
{\footnotesize\ttfamily void Mag\+Logger\+::fatal (\begin{DoxyParamCaption}\item[{const std\+::string \&}]{message }\end{DoxyParamCaption})}



debug 致命信息 


\begin{DoxyParams}{Parameters}
{\em message} & 消息内容 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
无返回值 
\end{DoxyReturn}
\Hypertarget{class_mag_logger_adc2763b218ec03d8ecbb6bf00cc64a28}\label{class_mag_logger_adc2763b218ec03d8ecbb6bf00cc64a28} 
\index{MagLogger@{MagLogger}!info@{info}}
\index{info@{info}!MagLogger@{MagLogger}}
\doxysubsubsection{\texorpdfstring{info()}{info()}}
{\footnotesize\ttfamily void Mag\+Logger\+::info (\begin{DoxyParamCaption}\item[{const std\+::string \&}]{message }\end{DoxyParamCaption})}



debug 一般信息 


\begin{DoxyParams}{Parameters}
{\em message} & 消息内容 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
无返回值 
\end{DoxyReturn}
\Hypertarget{class_mag_logger_abacc186e35e7a98e37edd8981c19454d}\label{class_mag_logger_abacc186e35e7a98e37edd8981c19454d} 
\index{MagLogger@{MagLogger}!warning@{warning}}
\index{warning@{warning}!MagLogger@{MagLogger}}
\doxysubsubsection{\texorpdfstring{warning()}{warning()}}
{\footnotesize\ttfamily void Mag\+Logger\+::warning (\begin{DoxyParamCaption}\item[{const std\+::string \&}]{message }\end{DoxyParamCaption})}



debug 警告信息 


\begin{DoxyParams}{Parameters}
{\em message} & 消息内容 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
无返回值 
\end{DoxyReturn}


The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{logger_8h}{logger.\+h}}\item 
logger.\+cpp\end{DoxyCompactItemize}
